/** When your routing table is too long, you can split it into small modules * */

import Layout from '../../layout/index.vue';

const siteWorkRouter = [{
  path: '/',
  component: Layout,
  name: 'Layout',
  redirect: '/home',
  children: [
    {
      path: 'home',
      component: () => import('@/views/home/index.vue'),
      name: 'Home',
      meta: { title: '首页' },
    },
    {
      path: 'pendingTask',
      component: () => import('@/views/pendingTask/index.vue'),
      name: 'PendingTask',
      meta: { title: '待领任务' },
    },
    {
      path: 'productionAdjust',
      component: () => import('@/views/productionAdjust/index.vue'),
      name: 'ProductionAdjust',
      meta: { title: '生产调模' },
    },
    {
      path: 'qualityInspect',
      component: () => import('@/views/qualityInspect/index.vue'),
      name: 'QualityInspect',
      meta: { title: '质量巡检' },
    },
    {
      path: 'reissueCardPrint',
      component: () => import('@/views/reissueCardPrint/index.vue'),
      name: 'ReissueCardPrint',
      meta: { title: '补卡打印' },
    },
    {
      path: 'systemConfig',
      component: () => import('@/views/systemConfig/index.vue'),
      name: 'SystemConfig',
      meta: { title: '系统配置' },
    },
  ],
}];

export default siteWorkRouter;
